#pragma once
#include "stmt.h"
#include "Assignable.h"
#include "vm.h"

#include <list>

class Read :
    public Stmt
{
public:
    Read(vm *_env, int _ln);
    virtual ~Read(void);

    virtual int Eval();

    void AddVar(Assignable *var);

private:
    std::list<Assignable *> idList;
    vm *env;
};

